package com.ruoyi.teacher.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.employment.api.domain.TeacherToEmploymentDto;
import com.ruoyi.teaching.api.domain.TeachingTraceDto;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 老师日报对象 sys_teacher_report
 * 
 * @author clid
 * @date 2024-03-26
 */
public class TeacherReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 老师名称 */
    @Excel(name = "老师名称")
    private String teacherName;

    /** 日报内容 */
    @Excel(name = "日报内容")
    private String content;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;

    /** 日报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    private Integer teacherType;

    private Long subjectId;

    private Long campusId;

    /**
     * 就业跟踪
     */
    private List<TeacherToEmploymentDto> employmentTracking;
    /**
     * 教学跟踪
    * */
    private List<TeachingTraceDto> teachingTracking;


    public List<TeachingTraceDto> getTeachingTracking() {
        return teachingTracking;
    }


    public Integer getTeacherType() {
        return teacherType;
    }

    public void setTeacherType(Integer teacherType) {
        this.teacherType = teacherType;
    }

    public Long getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Long subjectId) {
        this.subjectId = subjectId;
    }

    public Long getCampusId() {
        return campusId;
    }

    public void setCampusId(Long campusId) {
        this.campusId = campusId;
    }

    public void setTeachingTracking(List<TeachingTraceDto> teachingTracking) {
        this.teachingTracking = teachingTracking;
    }

    public List<TeacherToEmploymentDto> getEmploymentTracking() {
        return employmentTracking;
    }

    public void setEmploymentTracking(List<TeacherToEmploymentDto> employmentTracking) {
        this.employmentTracking = employmentTracking;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("content", getContent())
            .append("teacherId", getTeacherId())
            .append("reportTime", getReportTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
